package com.itqf.service.impl;

import com.itqf.mapper.DtsGoodsProductMapper;
import com.itqf.service.DtsGoodsProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * projectName: store_parent
 *
 * @author: 赵伟风
 * time: 2021/6/9 11:10
 * description:
 */
@Service
public class DtsGoodsProductServiceImpl implements DtsGoodsProductService {

    @Autowired
    private DtsGoodsProductMapper goodsProductMapper;

    /**
     * 查询商品库存数量
     *
     * @return
     */
    @Override
    public int findGoodsProductNumber() {

        int number =  goodsProductMapper.queryNumber();

        return number;
    }
}
